package com.yxinsur.imc.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxinsur.imc.business.domain.ImcAssessmentDetail;
import com.yxinsur.imc.business.form.AssessmentDetailForm;
import com.yxinsur.imc.business.vo.AssessmentDetailVo;
import org.apache.ibatis.annotations.Param;

/**
 * 考核详情Mapper接口
 * 
 * @author imc
 * @date 2021-06-10
 */
public interface ImcAssessmentDetailMapper extends BaseMapper<ImcAssessmentDetail>
{
    /**
     * 查询考核详情
     * 
     * @param id 考核详情ID
     * @return 考核详情
     */
    public ImcAssessmentDetail selectImcAssessmentDetailById(String id);

    /**
     * 查询考核详情列表
     * 
     * @param assessmentDetailForm 考核详情
     * @return 考核详情集合
     */
    public List<AssessmentDetailVo> selectImcAssessmentDetailList(@Param("assessmentId")Long assessmentId, @Param("param")AssessmentDetailForm assessmentDetailForm);

    /**
     * 新增考核详情
     * 
     * @param imcAssessmentDetail 考核详情
     * @return 结果
     */
    public int insertImcAssessmentDetail(ImcAssessmentDetail imcAssessmentDetail);

    /**
     * 修改考核详情
     * 
     * @param imcAssessmentDetail 考核详情
     * @return 结果
     */
    public int updateImcAssessmentDetail(ImcAssessmentDetail imcAssessmentDetail);

    /**
     * 删除考核详情
     * 
     * @param id 考核详情ID
     * @return 结果
     */
    public int deleteImcAssessmentDetailById(String id);

    /**
     * 批量删除考核详情
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteImcAssessmentDetailByIds(String[] ids);
}
